package com.joyintech.vo.policyInquiry.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Response {



    @JacksonXmlElementWrapper(localName = "resultList")
    @JacksonXmlProperty(localName = "result")
    List<Line> lines;

    /**
     */
    @JacksonXmlProperty(localName = "current")
    private String current;

    /**
     */
    @JacksonXmlProperty(localName = "size")
    private String size;

    /**
     */
    @JacksonXmlProperty(localName = "pages")
    private String pages;

    /**
     */
    @JacksonXmlProperty(localName = "total")
    private String total;

    public List<Line> getLines() {
        return lines;
    }

    public void setLines(List<Line> lines) {
        this.lines = lines;
    }

    public String getCurrent() {
        return current;
    }

    public void setCurrent(String current) {
        this.current = current;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getPages() {
        return pages;
    }

    public void setPages(String pages) {
        this.pages = pages;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "Response{" +
                "lines=" + lines +
                ", current='" + current + '\'' +
                ", size='" + size + '\'' +
                ", pages='" + pages + '\'' +
                ", total='" + total + '\'' +
                '}';
    }
}
